package com.ph.website.home.param;

import lombok.Data;

import javax.validation.constraints.NotNull;

public class HelpSupportParam {

    @Data
    public static class ListParam{
        @NotNull
        private Integer start;
        @NotNull
        private Integer num;
        private Integer helpType;
        private Integer helpState;
        private String key;
    }

    @Data
    public static class AddParam {
        @NotNull
        private String question;
        @NotNull
        private String answer;
        @NotNull
        private Integer helpType;   //帮助支持类型(1:蛮有财, 2:0税宝, 3:出口E贷, 4:外贸服务平台)
        @NotNull
        private Integer orderNum;   //排序号

    }

    @Data
    public static class ModifyParam {
        @NotNull
        private Integer helpId;
        @NotNull
        private String question;
        @NotNull
        private String answer;
        @NotNull
        private Integer helpType;   //帮助支持类型(1:蛮有财, 2:0税宝, 3:出口E贷, 4:外贸服务平台)
        @NotNull
        private Integer orderNum;   //排序号
    }

    @Data
    public static class DeleteParam {
        @NotNull
        private Integer helpId;
    }

    @Data
    public static class PublishParam {
        @NotNull
        private Integer helpId;
    }

    @Data
    public static class UnPublishParam{
        @NotNull
        private Integer helpId;
    }

}
